diff -Naur yae-0.7/screen.c yae-0.7.patched/screen.c
--- yae-0.7/screen.c	2007-04-03 17:51:44.000000000 -0400
+++ yae-0.7.patched/screen.c	2013-08-31 02:13:07.000000000 -0400
@@ -40,6 +40,9 @@
 XImage *ScreenXImage;
 XShmSegmentInfo	shminfo;
 
+XImage *createShmImage( DisplayContext *dc, int width, int height,
+	XShmSegmentInfo *info );
+
 /*
  * frame rate control
  */
